package smartgrid.conf;

import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import smartgrid.Constants;

@XmlRootElement(name = Constants.TAG_GENERAL)
public class GeneralConf {
	
	private int						replications;
	
	private int						iterations;
	
	private List<Integer>	seeds;
	
	private OutputConf		outputConf;
	
	private FilenameConf	filenameConf;
	
	private String				network;
	
	
	public int getReplications() {
		return this.replications;
	}
	
	
	@XmlElement(name = Constants.TAG_REPLICATIONS)
	public void setReplications(int replications) {
		this.replications = replications;
	}
	
	
	public int getIterations() {
		return this.iterations;
	}
	
	
	@XmlElement(name = Constants.TAG_ITERATIONS)
	public void setIterations(int iterations) {
		this.iterations = iterations;
	}
	
	
	public List<Integer> getSeeds() {
		return this.seeds;
	}
	
	
	@XmlElementWrapper(name = Constants.TAG_SEEDS)
	@XmlElement(name = Constants.TAG_SEED)
	public void setSeeds(List<Integer> seeds) {
		this.seeds = seeds;
	}
	
	
	public OutputConf getOutputConf() {
		return this.outputConf;
	}
	
	
	@XmlElement(name = Constants.TAG_OUTPUT)
	public void setOutputConf(OutputConf outputConf) {
		this.outputConf = outputConf;
	}
	
	
	public FilenameConf getFilenameConf() {
		return this.filenameConf;
	}
	
	
	@XmlElement(name = Constants.TAG_FILENAME)
	public void setFilenameConf(FilenameConf filenameConf) {
		this.filenameConf = filenameConf;
	}
	
	
	public String getNetwork() {
		return this.network;
	}
	
	
	@XmlElement(name = Constants.TAG_NETWORK)
	public void setNetwork(String network) {
		this.network = network;
	}
}